﻿using System.Collections.Generic;
using System.Linq;
using PortalCurriculo.Domain.Interface;

namespace PortalCurriculo.Domain
{
    public partial class FormaContratacao : IFormaContratacao
    {
        public List<FormaContratacao> SelecionarAtivos()
        {
            return (from formaContratacao in Context.Instance.FormaContratacaos
                    where formaContratacao.Ativo
                    orderby formaContratacao.Descricao
                    select formaContratacao).ToList();
        }
    }
}
